package com.ridu.project.beshid.repository;

import com.ridu.project.beshid.entity.CodeEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;


/**
 *  CODE
 * @author 随便 2020-05-17
 */
@Repository
public interface CodeRepository extends JpaRepository<CodeEntity,Long>,JpaSpecificationExecutor<CodeEntity> {

    CodeEntity findOneByCodeName(String codeName);
}
